package com.example.backend.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * @Author Jcy
 * @Date 2022/5/3
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_post")
public class Post {
    @TableId(value = "post_id", type = IdType.AUTO)
    int post_id;
    String post_content;
    Timestamp create_date;
    int deleted;
}